<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

return [
  /*  '__pattern__' => [
        'name' => '\w+',
    ],
    '[hello]'     => [
        ':id'   => ['index/hello', ['method' => 'get'], ['id' => '\d+']],
        ':name' => ['index/hello', ['method' => 'post']],
    ],*/

    //使用路由别名
    '__alias__' =>  [
        //后台
        'admin'           => 'admin/Index',//登录页面
        'adac'            => 'admin/Account',//后台管理员
        'front'           => 'admin/Front',//前端设置
        'consul'          => 'admin/Consul',//咨询管理

        //后台请求api
        'ap'              => 'admin/Adport',//登录页面
        'aptwo'           => 'admin/Adporttwo',//其它

        //pc 请求api
        'login'        => 'index/Login',//登录、注册处理
        'request'      => 'index/Request',
        'pcpay'        => 'index/Pcpay',


        //前台
        'index'         => 'index/Index',       //首页
        'question'      => 'index/question',    // 免费咨询
        'doc'           => 'index/doc',        // 法律文书
        'news'          => 'index/news',        // 法律资讯
        'lawyer'        => 'index/lawyer',       // 律师展示
        'service'       => 'index/service',       // 法律服务
        'user'          => 'index/User',         // 用户中心
        'about'         => 'index/About'         // 用户中心
    ],

];
